home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / ada / gnat1792.zip / gnat179b / t-adainc / s-poscon.ads < prev    next >
Text File  |  1994-05-19  |  4KB  |  99 lines

  1. -----------------------------------------------------------------------------
  2. --                                                                         --
  3. --                GNU ADA RUNTIME LIBRARY (GNARL) COMPONENTS               --
  4. --                                                                         --
  5. --                       P O S I X _ C o n s t a n t s                     --
  6. --                                                                         --
  7. --                                 S p e c                                 --
  8. --                                                                         --
  9. --                            $Revision: 1.2 $                            --
  10. --                                                                         --
  11. --          Copyright (c) 1991,1992,1993, FSU, All Rights Reserved         --
  12. --                                                                         --
  13. -- GNARL is free software; you can redistribute it and/or modify it  under --
  14. -- terms  of  the  GNU  Library General Public License as published by the --
  15. -- Free Software Foundation; either version 2, or  (at  your  option)  any --
  16. -- later  version.   GNARL is distributed in the hope that it will be use- --
  17. -- ful, but but WITHOUT ANY WARRANTY; without even the implied warranty of --
  18. -- MERCHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Gen- --
  19. -- eral Library Public License for more details.  You should have received --
  20. -- a  copy of the GNU Library General Public License along with GNARL; see --
  21. -- file COPYING. If not, write to the Free Software Foundation,  675  Mass --
  22. -- Ave, Cambridge, MA 02139, USA.                                          --
  23. --                                                                         --
  24. -----------------------------------------------------------------------------
  25.  
  26. package System.POSIX_Constants is
  27.  
  28.    pthread_t_size : constant Integer := 4;
  29.    pthread_attr_t_size : constant Integer := 28;
  30.    pthread_mutexattr_t_size : constant Integer := 12;
  31.    pthread_mutex_t_size : constant Integer := 32;
  32.    pthread_condattr_t_size : constant Integer := 4;
  33.    pthread_cond_t_size : constant Integer := 20;
  34.    pthread_key_t_size : constant Integer := 4;
  35.    pthread_jmp_buf_size : constant Integer := 16;
  36.    pthread_sigjmp_buf_size : constant Integer := 16;
  37.    posix_sigset_t_size : constant Integer := 4;
  38.    SIG_BLOCK : constant := 1;
  39.    SIG_UNBLOCK : constant := 2;
  40.    SIG_SETMASK : constant := 4;
  41.    SA_NOCLDSTOP : constant := 8;
  42.    SA_SIGINFO : constant := 0;
  43.    SIG_ERR : constant := -1;
  44.    SIG_DFL : constant := 0;
  45.    SIG_IGN : constant := 1;
  46.    SIGKILL : constant := 9;
  47.    SIGSTOP : constant := 17;
  48.    SIGILL : constant := 4;
  49.    SIGABRT : constant := 6;
  50.    SIGEMT : constant := 7;
  51.    SIGFPE : constant := 8;
  52.    SIGBUS : constant := 10;
  53.    SIGSEGV : constant := 11;
  54.    SIGPIPE : constant := 13;
  55.    SIGALRM : constant := 14;
  56.    SIGUSR1 : constant := 30;
  57.    SIGUSR2 : constant := 31;
  58.    SIGTRAP : constant := 5;
  59.    EPERM    : constant := 1;
  60.    ENOENT   : constant := 2;
  61.    ESRCH    : constant := 3;
  62.    EINTR    : constant := 4;
  63.    EIO      : constant := 5;
  64.    ENXIO    : constant := 6;
  65.    E2BIG    : constant := 7;
  66.    ENOEXEC  : constant := 8;
  67.    EBADF    : constant := 9;
  68.    ECHILD   : constant := 10;
  69.    EAGAIN   : constant := 11;
  70.    ENOMEM   : constant := 12;
  71.    EACCES   : constant := 13;
  72.    EFAULT   : constant := 14;
  73.    ENOTBLK  : constant := 15;
  74.    EBUSY    : constant := 16;
  75.    EEXIST   : constant := 17;
  76.    EXDEV    : constant := 18;
  77.    ENODEV   : constant := 19;
  78.    ENOTDIR  : constant := 20;
  79.    EISDIR   : constant := 21;
  80.    EINVAL   : constant := 22;
  81.    ENFILE   : constant := 23;
  82.    EMFILE   : constant := 24;
  83.    ENOTTY   : constant := 25;
  84.    ETXTBSY  : constant := 26;
  85.    EFBIG    : constant := 27;
  86.    ENOSPC   : constant := 28;
  87.    ESPIPE   : constant := 29;
  88.    EROFS    : constant := 30;
  89.    EMLINK   : constant := 31;
  90.    EPIPE    : constant := 32;
  91.    ENOSYS   : constant := 90;
  92.    ENOTSUP  : constant := 91;
  93.    NO_PRIO_INHERIT : constant := 0;
  94.    PRIO_INHERIT : constant := 1;
  95.    PRIO_PROTECT : constant := 2;
  96.    Add_Prio : constant Integer := 2;
  97.  
  98. end System.POSIX_Constants;
  99.